package cn.xyinping.user.constant;

/**
 * @author 27266
 * @desrciption
 * @date 2021/10/29
 */
public class UserConstant {
    // 存储验证码信息前缀   业务标识
    public static final String REGISTER_PREFIX = "register_prefix";
    // 微信绑定
    public static final String BINDER_PREFIX = "binder_prefix";
    // 微信登陆的三个常量
    // url  在微信官网上看
    public static final String TOKEN_BY_CODE = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    public static final String APPID = "wxd853562a0548a7d0";
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
    // 获取wxuser
    public static final String WX_USER="https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
}
